package com.example.walkera.rtsp_android_client.global;

import android.app.Activity;
import android.app.Application;
import android.content.Context;

public class GlobalInfo extends Application {
	public static final String WIFILIST_SORT_WITH_STARTSTRING = "SBC";
	private static GlobalInfo instance = new GlobalInfo();
	private Activity activity;
	private Context context;

	public static GlobalInfo getInstance() {
		if (instance == null) {
			instance = new GlobalInfo();
		}
		return instance;
	}


	public Context getAppContext() {
		return (Context) activity;
	}

	public void setCurrentApp(Activity activity) {
		this.activity = activity;
	}

	public Activity getCurrentApp() {
		return activity;
	}

}
